package cn.lg.soar.system.biz.handler;

import cn.lg.soar.common.util.trans.handler.AbstractDictTranslateHandler;
import cn.lg.soar.system.biz.config.SystemProps;

/**
 * 账号类型翻译处理器
 * @author luguoxiang
 * 开源项目：https://gitee.com/lgx1992/lg-soar 求star！请给我star！请帮我点个star！
 */
public class AccountBindTypeTranslateHandler extends AbstractDictTranslateHandler {

    public AccountBindTypeTranslateHandler(SystemProps props) {
        super(props.getAccountBindType());
        this.map.put(0, "账号");
        this.fmap.put("账号", 0);
    }

    @Override
    public String getCode() {
        return "account-bind-type";
    }

    @Override
    public String getName() {
        return "绑定账号类型";
    }

}
